﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Proggy.Web.Cms.ViewModels
{
    /// <summary>
    /// View model for register / create member facility
    /// </summary>
    public class RegisterViewModel
    {
        /// <summary>
        /// New member name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// New member username
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// New member email
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// New member password
        /// </summary>
        [Display(Name="Password")]
        public string Password1 { get; set; }

        /// <summary>
        /// New member password confirmation
        /// </summary>
        [Display(Name="Confirm password")]
        public string Password2 { get; set; }
    }
}
